import React, { Component } from 'react'
import Nav from './compontens/public/nav'
import Header from './compontens/public/header'
import './app.scss'

export default class App extends Component {
    render() {
        return (
            <div className="app-wrapper">
                <Header/>
                <div className="app-content">
                    <Nav pathname={this.props.location.pathname}/>
                    <div className="main-wrapper">
                        {this.props.children}
                    </div>
                </div>
            </div>
        )
    }
}